<?php
#session.php
echo '<br>hello session';
$_path='/home/ubuntu/temp';
session_save_path($_path);
session_start();
$_SESSION['user']=null;
echo '<br>';
if(null !== session_id()){
  $_SESSION['user']=session_id();
  echo $_SESSION['user'];
}else{
  $_SESSION['user']='mrsoft';
}
#session_destroy();
echo '<br>session_path:'.session_save_path();
?>
